//
//  SNCache.h
//  Library
//
//  Created by stone on 16/10/14.
//  Copyright © 2016年 huogenghao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SNCache : NSObject

+ (void)saveCache:(id)cache forKey:(NSString *)key;

+ (id)getCacheForKey:(NSString *)key;

/**
 *  获取缓存的总大小 bytes(字节)
 */
+ (NSInteger)getAllCacheSize;


+ (void)removeAllCache;
+ (void)removeCacheForKey:(NSString *)key;

+ (void)changeDB:(NSString *)accountId;
@end
